package org.admin.entity.vo;

import lombok.Data;
import org.admin.entity.domain.Perms;
@Data
public class PermsFetchVo {
    public PermsFetchVo(Perms entity){
        id = entity.getId();
        appId = entity.getAppId();
        route = entity.getRoute();
        method = entity.getMethod();
        detail = entity.getDetail();
        groupId = entity.getGroupId();
        power = entity.getPower();
    }

    private Integer id;

    private Integer appId;

    private String route;

    private String method;

    private String detail;

    private Integer groupId;

    private Integer power;
}
